package com.cn.wanxi.springsecurity.mapper;

import com.cn.wanxi.springsecurity.domain.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 后台用户权限表 Mapper 接口
 * </p>
 *
 * @author 吉酱
 * @since 2022-09-26
 */

public interface PermissionMapper extends BaseMapper<Permission> {


    //    List<Permission> selectByUserId(Integer id);
    Set<Permission> selectByUserId(Integer id);

}
